﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kaiser.Modules.Core.Aggregates
{
    public class SaleOrderBillItems:Bills<SaleOrderBillItems>
    {
        public SaleOrderBillItems()
        {

        }

        public SaleOrderBillItems(Product.Product product)
        {
            this.Product = product;
        }

        public SaleOrderBills SaleOrder { get; set; }

        public string BillCode { get; set; }
        public Product.Product Product { get; set; }
        public string SearchCode { get; set; }
        public AdvancedBaseData Type { get; set; }

        public int ItemCount { get; set; }
        public int FnshItemCount { get; set; }
        public Unit Unit { get; set; }
        public string ShowUnitID { get; set; }
        public string ShowUnitName { get; set; }
        public string Coefficient { get; set; }
        public int ShowItemCount { get; set; }

        /// <summary>
        /// 零售价
        /// </summary>
        public double ShowPrice { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public double Price { get; set; }

        /// <summary>
        /// 实际金额
        /// </summary>
        public double Amount { get; set; }

        public string ItemState { get; set; }
 
        public string UserID { get; set; }
        public string UserName { get; set; }
        public string CreateDate { get; set; }
        public string LastUpdateDate { get; set; }
        public string IsSend { get; set; }
    }
}
